package com.itheima.method;

public class Test5 {
    public static void main(String[] args) {
        method();
        System.out.println("Hello");
    }
    public static void method(){

        while(true){
            int week = 3;
            switch(week) {
                case 1:
                    System.out.println("爬山");
                    break;
                case 2:
                    System.out.println("游泳");
                    break;
                case 3:
                    System.out.println("上网");
                    return;
            }
        }
    }
}
